cmake_minimum_required(VERSION 3.15)
set(PROJECT EESTrader_demo)
project(${PROJECT})
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_BUILD_TYPE Release)
add_compile_options(-w -std=c++17 -O2)
message(${PROJECT_SOURCE_DIR}/lib)
include_directories(${PROJECT_SOURCE_DIR}/include /usr/local/include)
aux_source_directory(${PROJECT_SOURCE_DIR}/src SRC_LIST)
aux_source_directory(${PROJECT_SOURCE_DIR}/src/strategy STRATEGY)
link_directories(${PROJECT_SOURCE_DIR}/lib /usr/lib /usr/local/lib /usr/local/lib64)
add_executable(${PROJECT} main.cpp ${SRC_LIST} ${STRATEGY})
target_link_libraries(${PROJECT} pthread EESTraderApi_ef zf_client_sock efvi-common ciul1 hiredis redis++ nano_u50_shfe_udp xgboost)
target_link_libraries(${PROJECT} dl)
